﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CLEXA.ClientTools.Collections;
using CLEXA.DataContracts;

namespace CLEXA.AdminClient.Cache
{
    public interface IUserCache
    {
        IReadOnlyObservableDictionary<int, UserData> Users { get; }

        void CreateUser(string username, string password, bool isActive);
        void UpdateUser(UserData user);
        void DeleteUser(int userId);
        void ChangeUserPassword(int userId, string password);
    }
}
